Optimal. Leaf size=101 \[ \frac {b c \sqrt {1-\frac {1}{c^2 x^2}}}{36 x^5}+\frac {5 b c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{144 x^3}+\frac {5 b c^5 \sqrt {1-\frac {1}{c^2 x^2}}}{96 x}-\frac {5}{96} b c^6 \csc ^{-1}(c x)-\frac {a+b \sec ^{-1}(c x)}{6 x^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5328, 342, 327,
222} \begin {gather*} -\frac {a+b \sec ^{-1}(c x)}{6 x^6}-\frac {5}{96} b c^6 \csc ^{-1}(c x)+\frac {b c \sqrt {1-\frac {1}{c^2 x^2}}}{36 x^5}+\frac {5 b c^5 \sqrt {1-\frac {1}{c^2 x^2}}}{96 x}+\frac {5 b c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{144 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 327
Rule 342
Rule 5328
Rubi steps
\begin {align*} \int \frac {a+b \sec ^{-1}(c x)}{x^7} \, dx &=-\frac {a+b \sec ^{-1}(c x)}{6 x^6}+\frac {b \int \frac {1}{\sqrt {1-\frac {1}{c^2 x^2}} x^8} \, dx}{6 c}\\ &=-\frac {a+b \sec ^{-1}(c x)}{6 x^6}-\frac {b \text {Subst}\left (\int \frac {x^6}{\sqrt {1-\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{6 c}\\ &=\frac {b c \sqrt {1-\frac {1}{c^2 x^2}}}{36 x^5}-\frac {a+b \sec ^{-1}(c x)}{6 x^6}-\frac {1}{36} (5 b c) \text {Subst}\left (\int \frac {x^4}{\sqrt {1-\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )\\ &=\frac {b c \sqrt {1-\frac {1}{c^2 x^2}}}{36 x^5}+\frac {5 b c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{144 x^3}-\frac {a+b \sec ^{-1}(c x)}{6 x^6}-\frac {1}{48} \left (5 b c^3\right ) \text {Subst}\left (\int \frac {x^2}{\sqrt {1-\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )\\ &=\frac {b c \sqrt {1-\frac {1}{c^2 x^2}}}{36 x^5}+\frac {5 b c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{144 x^3}+\frac {5 b c^5 \sqrt {1-\frac {1}{c^2 x^2}}}{96 x}-\frac {a+b \sec ^{-1}(c x)}{6 x^6}-\frac {1}{96} \left (5 b c^5\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )\\ &=\frac {b c \sqrt {1-\frac {1}{c^2 x^2}}}{36 x^5}+\frac {5 b c^3 \sqrt {1-\frac {1}{c^2 x^2}}}{144 x^3}+\frac {5 b c^5 \sqrt {1-\frac {1}{c^2 x^2}}}{96 x}-\frac {5}{96} b c^6 \csc ^{-1}(c x)-\frac {a+b \sec ^{-1}(c x)}{6 x^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 88, normalized size = 0.87 \begin {gather*} -\frac {a}{6 x^6}+b \left (\frac {c}{36 x^5}+\frac {5 c^3}{144 x^3}+\frac {5 c^5}{96 x}\right ) \sqrt {\frac {-1+c^2 x^2}{c^2 x^2}}-\frac {b \sec ^{-1}(c x)}{6 x^6}-\frac {5}{96} b c^6 \text {ArcSin}\left (\frac {1}{c x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(185\) vs.
\(2(88)=176\).
time = 0.09, size = 186, normalized size = 1.84
method | result | size |
derivativedivides | \(c^{6} \left (-\frac {a}{6 c^{6} x^{6}}-\frac {b \,\mathrm {arcsec}\left (c x \right )}{6 c^{6} x^{6}}-\frac {5 b \sqrt {c^{2} x^{2}-1}\, \arctan \left (\frac {1}{\sqrt {c^{2} x^{2}-1}}\right )}{96 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}+\frac {5 b \left (c^{2} x^{2}-1\right )}{96 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{3} x^{3}}+\frac {5 b \left (c^{2} x^{2}-1\right )}{144 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{5} x^{5}}+\frac {b \left (c^{2} x^{2}-1\right )}{36 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{7} x^{7}}\right )\) | \(186\) |
default | \(c^{6} \left (-\frac {a}{6 c^{6} x^{6}}-\frac {b \,\mathrm {arcsec}\left (c x \right )}{6 c^{6} x^{6}}-\frac {5 b \sqrt {c^{2} x^{2}-1}\, \arctan \left (\frac {1}{\sqrt {c^{2} x^{2}-1}}\right )}{96 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}+\frac {5 b \left (c^{2} x^{2}-1\right )}{96 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{3} x^{3}}+\frac {5 b \left (c^{2} x^{2}-1\right )}{144 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{5} x^{5}}+\frac {b \left (c^{2} x^{2}-1\right )}{36 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{7} x^{7}}\right )\) | \(186\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 165, normalized size = 1.63 \begin {gather*} \frac {1}{288} \, b {\left (\frac {15 \, c^{7} \arctan \left (c x \sqrt {-\frac {1}{c^{2} x^{2}} + 1}\right ) - \frac {15 \, c^{12} x^{5} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {5}{2}} + 40 \, c^{10} x^{3} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} + 33 \, c^{8} x \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c^{6} x^{6} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{3} - 3 \, c^{4} x^{4} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} + 3 \, c^{2} x^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )} - 1}}{c} - \frac {48 \, \operatorname {arcsec}\left (c x\right )}{x^{6}}\right )} - \frac {a}{6 \, x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.16, size = 62, normalized size = 0.61 \begin {gather*} \frac {3 \, {\left (5 \, b c^{6} x^{6} - 16 \, b\right )} \operatorname {arcsec}\left (c x\right ) + {\left (15 \, b c^{4} x^{4} + 10 \, b c^{2} x^{2} + 8 \, b\right )} \sqrt {c^{2} x^{2} - 1} - 48 \, a}{288 \, x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 12.03, size = 241, normalized size = 2.39 \begin {gather*} - \frac {a}{6 x^{6}} - \frac {b \operatorname {asec}{\left (c x \right )}}{6 x^{6}} + \frac {b \left (\begin {cases} \frac {5 i c^{7} \operatorname {acosh}{\left (\frac {1}{c x} \right )}}{16} - \frac {5 i c^{6}}{16 x \sqrt {-1 + \frac {1}{c^{2} x^{2}}}} + \frac {5 i c^{4}}{48 x^{3} \sqrt {-1 + \frac {1}{c^{2} x^{2}}}} + \frac {i c^{2}}{24 x^{5} \sqrt {-1 + \frac {1}{c^{2} x^{2}}}} + \frac {i}{6 x^{7} \sqrt {-1 + \frac {1}{c^{2} x^{2}}}} & \text {for}\: \frac {1}{\left |{c^{2} x^{2}}\right |} > 1 \\- \frac {5 c^{7} \operatorname {asin}{\left (\frac {1}{c x} \right )}}{16} + \frac {5 c^{6}}{16 x \sqrt {1 - \frac {1}{c^{2} x^{2}}}} - \frac {5 c^{4}}{48 x^{3} \sqrt {1 - \frac {1}{c^{2} x^{2}}}} - \frac {c^{2}}{24 x^{5} \sqrt {1 - \frac {1}{c^{2} x^{2}}}} - \frac {1}{6 x^{7} \sqrt {1 - \frac {1}{c^{2} x^{2}}}} & \text {otherwise} \end {cases}\right )}{6 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 104, normalized size = 1.03 \begin {gather*} \frac {1}{288} \, {\left (15 \, b c^{5} \arccos \left (\frac {1}{c x}\right ) + \frac {15 \, b c^{4} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{x} + \frac {10 \, b c^{2} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{x^{3}} + \frac {8 \, b \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{x^{5}} - \frac {48 \, b \arccos \left (\frac {1}{c x}\right )}{c x^{6}} - \frac {48 \, a}{c x^{6}}\right )} c \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )}{x^7} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________